﻿<Controls:SinacorWindow
    
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"  
    xmlns:Custom="http://schemas.xceed.com/wpf/xaml/datagrid"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d"
    
	xmlns:Controls="clr-namespace:Sinacor.Infra.UI.Controls.SmartClient;assembly=Sinacor.Infra.UI.Controls"
    
    WindowStartupLocation="CenterScreen" 
    AutoContentHeight="False" 
    AutoContentWidth="True"
    WindowState ="Maximized"
    Title="{DynamicResource Bovespa.Operador.Label.CadastroParametros}"    
    ModulePlus="False"
    ModuleId="ORD"
    x:Class="Sinacor.UI.Bovespa.Parametro.View.SmartClient.CadastroParametro" >

    <Controls:SinacorExpanderContainer>
        <Controls:SinacorExpander Header="{DynamicResource Bovespa.Operador.Label.Parametros}" AllowExpand="False">
            <Grid HorizontalAlignment="Stretch"
                  VerticalAlignment="Stretch"
                  Width="Auto"
                  Height="Auto">
                <Controls:SinacorLabel Content="{DynamicResource Bovespa.Operador.Label.PreferenciasPadrao}"
                                       HorizontalAlignment="Left"
                                       VerticalAlignment="Top"
                                       Width="125"
                                       HorizontalContentAlignment="Left"
                                       Name="LblPreferenciaPadrao"/>
                <Controls:SinacorComboBox HorizontalAlignment="Left"
                                          VerticalAlignment="Top"
                                          Margin="0,23,0,0"
                                          Width="240"
										  TabIndex="1"
                                          Name="CmbPreferenciaPadrao"
                                          SelectedValue="{Binding Parametro.OperadorPreferenciasPadrao,UpdateSourceTrigger=PropertyChanged}"
                                          ItemsSource="{Binding Path=presenter.ListaOperador, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:SinacorWindow}}}" 
                                          SelectedValuePath="CodigoOperador"
                                          DisplayMemberPath="CodigoLoginOperador"  
                                          >
                </Controls:SinacorComboBox>
                <Controls:SinacorLabel Content="{DynamicResource Bovespa.Operador.Label.OperadorExercicio}"
                                       HorizontalAlignment="Left"
                                       VerticalAlignment="Top"
                                       Margin="244,0,0,0"
                                       Width="200"
                                       HorizontalContentAlignment="Left"
                                       Name="LblOperadorAutomatico"
                                       />
                <Controls:SinacorComboBox HorizontalAlignment="Left"
                                          VerticalAlignment="Top"
                                          Margin="244,23,0,0"
                                          Width="240"
										  TabIndex="2"
                                          Name="CmbOperadorAutomatico"
                                          SelectedValue="{Binding Parametro.OperadorAutomaticoExercicio,UpdateSourceTrigger=PropertyChanged}"
                                          ItemsSource="{Binding Path=presenter.ListaOperador, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:SinacorWindow}}}" 
                                          SelectedValuePath="CodigoOperador"
                                          DisplayMemberPath="CodigoLoginOperador"                                           
                                          />
                <Controls:SinacorLabel Content="{DynamicResource Bovespa.Operador.Label.OperadorPadraoOrdem}"
                                       HorizontalAlignment="Left"
                                       VerticalAlignment="Top"
                                       Width="245"
                                       Margin="490,0,0,0"
                                       HorizontalContentAlignment="Left"
                                       Name="LblOperadorPadraoOrdemSemIdentificacao"/>
                <Controls:SinacorComboBox HorizontalAlignment="Left"
                                          VerticalAlignment="Top"
                                          Margin="490,23,0,0"
                                          Width="245"
										  TabIndex="3"
                                          Name="CmbOperadorPadraoOrdemSemIdentificacao"
                                          SelectedValue="{Binding Parametro.OperadorOrdemSemIdentificacao,UpdateSourceTrigger=PropertyChanged}"
                                          ItemsSource="{Binding Path=presenter.ListaOperador, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:SinacorWindow}}}" 
                                          SelectedValuePath="CodigoOperador"
                                          DisplayMemberPath="CodigoLoginOperador"                                           
                                          />
                <Controls:SinacorLabel Content="{DynamicResource Bovespa.Operador.Label.OperadorPadraoCustodia}"
                                       HorizontalAlignment="Left"
                                       VerticalAlignment="Top"
                                       Margin="740,0,0,0"
                                       Width="220"
                                       HorizontalContentAlignment="Left"
                                       Name="LblOperadorPadraoCustodia"
                                       />
                <Controls:SinacorComboBox HorizontalAlignment="Left"
                                          VerticalAlignment="Top"
                                          Margin="740,23,0,0"
                                          Width="225"
										  TabIndex="4"
                                          Name="CmbOperadoPadraoCustodia"
                                          SelectedValue="{Binding Parametro.OperadorCustodia,UpdateSourceTrigger=PropertyChanged}"
                                          ItemsSource="{Binding Path=presenter.ListaOperador, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:SinacorWindow}}}" 
                                          SelectedValuePath="CodigoOperador"
                                          DisplayMemberPath="CodigoLoginOperador"  
                                          />
                <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.AgenteCompensacao}"
                                          HorizontalAlignment="Left"
                                          VerticalAlignment="Top"
                                          Margin="0,50,0,0"
                                          Width="173"
										  TabIndex="5"
                                          Name="ChkAgenteCompensacao"
                                          IsChecked="{Binding Parametro.AgenteCompensacao,UpdateSourceTrigger=PropertyChanged}"
                                          Checked="ChkAgenteCompensacao_Checked"
                                          Unchecked="ChkAgenteCompensacao_Unchecked"/>

                <Controls:SinacorComboBox HorizontalAlignment="Left"
                                          VerticalAlignment="Top"
                                          Margin="0,73,0,0"
                                          Width="484"
										  TabIndex="6"
                                          Name ="CmbAgenteCompensacao"
                                          SelectedValue="{Binding Parametro.CodigoAgenteCompensacao,UpdateSourceTrigger=PropertyChanged}"
                                          ItemsSource="{Binding Path=presenter.ListaCorrespondente, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:SinacorWindow}}}" 
                                          SelectedValuePath="Codigo"
                                          DisplayMemberPath="codigoNomeCorrespondente"
                                          IsEnabled="False"
                                          />
                <Controls:SinacorLabel Content="{DynamicResource Bovespa.Operador.Label.CaminhoArquivo}"
                                       HorizontalAlignment="Left"
                                       VerticalAlignment="Top"
                                       Margin="490,50,0,0"
                                       Width="300"
                                       HorizontalContentAlignment="Left"
                                       Name="LblCaminhoArquivoOrigem"/>

                <!-- Comentário Troca de Componentes de Textbox para FolderPicker
				Controls:SinacorTextBox HorizontalAlignment="Left"
                                         VerticalAlignment="Top"
                                         Margin="490,73,0,0"
										 Text="{Binding Parametro.CaminhoArquivoOrdem,UpdateSourceTrigger=PropertyChanged}"
                                         Width="475"
										 TabIndex="7"
                                         MaxLength="60"
                                         Name="TxtCaminhoArquivoOrigem"
                                         /-->

                <Controls:SinacorFolderPicker HorizontalAlignment="Left"
                                         VerticalAlignment="Top"
                                         Margin="490,73,0,0"
                                         Width="475"
										 TabIndex="7"
										 WidthPath="399"
                                         PreviewKeyDown="TxtCaminhoArquivoOrigem_PreviewKeyDown"
                                         Name="TxtCaminhoArquivoOrigem"
                                         Value="{Binding Parametro.CaminhoArquivoOrdem,UpdateSourceTrigger=PropertyChanged}" />

                <!-- Comentário Alteração de Horizontal Content Alignment -->
                <Controls:SinacorLabel Content="{DynamicResource Bovespa.Operador.Label.InicioPregao}"
                                       HorizontalAlignment="Left"
                                       VerticalAlignment="Top"
                                       Margin="0,100,0,0"
                                       Width="208"
                                       Name="LblHorarioInicioPregao"
									   HorizontalContentAlignment="Left"/>

                <!-- Comentário Alteração de Margens -->
                <Controls:SinacorTimePicker HorizontalAlignment="Left"
                                            VerticalAlignment="Top"
                                            Margin="0,125,0,0"
											TabIndex="8"
                                            Value="{Binding Parametro.InicioPregao, UpdateSourceTrigger=PropertyChanged}"
                                            KeyUp="DtpHorarioIncioPregao_KeyUp"
                                            Name="DtpHorarioIncioPregao"
                                            />
                <!--Comentário Retirada do Controle abaixo
				Controls:SinacorLabel Content="{DynamicResource Bovespa.Operador.Label.UsuariosAtivos}"
                                       HorizontalAlignment="Left"
                                       VerticalAlignment="Top"
                                       Margin="310,100,0,0"
                                       Width="108"
                                       Name="LblUsuarioAtivo"/>
                <Controls:SinacorInt16TextBox HorizontalAlignment="Left"
                                         VerticalAlignment="Top"
                                         Margin="423,100,0,0" 
                                         Width="60"
										 TabIndex="9"
                                         Name="TxtUsuarioAtivo"
                                         AcceptsNegative="False"
                                         Integers="3" 
                                         Value="{Binding Parametro.UsuariosAtivos, UpdateSourceTrigger=PropertyChanged}"
                                         /-->

                <!-- Comentário Alteração de Horizontal Content Alignment e Margens -->
                <Controls:SinacorLabel Content="{DynamicResource Bovespa.Operador.Label.TipoCorretagemHomeBroker}"
                                       HorizontalAlignment="Left"
                                       VerticalAlignment="Top"
                                       Margin="212,100,0,0"
                                       Width="184"
                                       Name="LblTipoCorretagemHomeBroker"
									   HorizontalContentAlignment="Left"/>

                <!-- Comentário Alteração de Margens -->
                <Controls:SinacorInt16TextBox HorizontalAlignment="Left"
                                         VerticalAlignment="Top"
                                         Margin="212,125,0,0"
                                         Width="95"
										 TabIndex="10"
                                         Name="TxtTipoCorretagemHomeBroker"
                                         AcceptsNegative="False"
                                         Integers="3"    
                                         IsFormated="False"
                                         Value="{Binding Parametro.TipoCorretagemHomeBroker,UpdateSourceTrigger=PropertyChanged}"/>
                <Controls:SinacorLabel Content="{DynamicResource Bovespa.Operador.Label.CPMF}"
                                       HorizontalAlignment="Left"
                                       VerticalAlignment="Top"
                                       Margin="803,100,0,0"
                                       Width="61"
                                       Visibility="Hidden"
                                       Name="LblCPMF"/>
                <Controls:SinacorDecimalTextBox HorizontalAlignment="Left"
                                         VerticalAlignment="Top"
                                         Margin="869,100,0,0"
                                         Width="96"
										 TabIndex="11"
                                         Name="TxtCPMF"
                                         Integers="4"
                                         Decimals="5"
                                         Visibility="Hidden"
                                         Value="{Binding Parametro.CPMF,UpdateSourceTrigger=PropertyChanged}"/>

                <!-- Comentário Aumento Margem de 125 para 150 -->
                <Controls:SinacorGroupBox HorizontalAlignment="Left"
                                          VerticalAlignment="Top"
                                          Header="{DynamicResource Bovespa.Operador.Label.ParametrosGerais}"
                                          Height="305"
                                          Width="484"
                                          Margin="0,150,0,0">
                    <Grid>
                        <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.OrdemPreBoleto}"
                                                  HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Margin="0,0,0,0"
                                                  Width="400"
												  TabIndex="12"
                                                  Name="ChkCasaOrdemPreBoleto"
                                                  IsChecked="{Binding Parametro.CasaOrdemPreBoleto,UpdateSourceTrigger=PropertyChanged}"/>
                        <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.DescontoOperaçao}"
                                                  HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Margin="0,25,0,0"
                                                  Width="400"
												  TabIndex="13"
                                                  Name="ChkUtilizaDescontoOperacao"
                                                  IsChecked="{Binding Parametro.DescontoOperacao,UpdateSourceTrigger=PropertyChanged}"/>
                        <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.RestoDistribuicao}"
                                                  HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Margin="0,50,0,0"
                                                  Width="400"
												  TabIndex="14"
                                                  Name="ChkRestoDistribuicao"
                                                  IsChecked="{Binding Parametro.RestoDistribuicaoUltimoCliente,UpdateSourceTrigger=PropertyChanged}"/>
                        <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.Compliance}"
                                                  HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Margin="0,75,0,0"
                                                  Width="400"
												  TabIndex="15"
                                                  Name="ChkUtilizaCompliance"
                                                  IsChecked="{Binding Parametro.Compliance,UpdateSourceTrigger=PropertyChanged}"/>
                        <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.UsaFracionario}"
                                                  HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Margin="0,100,0,0"
                                                  Width="400"
												  TabIndex="16"
                                                  Name="ChkUsaFracionarioVista"
                                                  IsChecked="{Binding Parametro.JuntaFracionario,UpdateSourceTrigger=PropertyChanged}"/>
                        <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.BloqueioClientes}"
                                                  HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Margin="0,125,0,0"
                                                  Width="400"
												  TabIndex="17"
                                                  Name="ChkUtilizaBloqueioClientes"
                                                  IsChecked="{Binding Parametro.BloqueioClientes,UpdateSourceTrigger=PropertyChanged}"/>
                        <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.VerificaSaldoNegociavel}"
                                                  HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Margin="0,150,0,0"
                                                  Width="400"
												  TabIndex="18"
                                                  Name="ChkVerificaSaldo"
                                                  IsChecked="{Binding Parametro.SaldoNegociavelCustodia,UpdateSourceTrigger=PropertyChanged}"/>
                        <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.IndicaPreBoleto}"
                                                  HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Margin="0,175,0,0"
                                                  Width="400"
												  TabIndex="19"
                                                  Name="ChkIndicaPreBoleto"
                                                  IsChecked="{Binding Parametro.PreBoletoAumentaOrdem,UpdateSourceTrigger=PropertyChanged}"/>
                        <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.AberturaOrdemExercicioOpcoes}"
                                                  HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Margin="0,200,0,0"
                                                  Width="400"
												  TabIndex="20"
                                                  Name="ChkIndicaAberturaOrdem"
                                                  IsChecked="{Binding Parametro.AberturaOrdemOpcoesIndice,UpdateSourceTrigger=PropertyChanged}"/>
                        <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.ClienteAdministrativo}"
                                                  HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Margin="0,225,0,0"
                                                  Width="400"
												  TabIndex="22"
                                                  IsEnabled="False"
                                                  Name="ChkUsaCliente"
                                                  IsChecked="{Binding Parametro.IndicadorAdministradoConcorrente,UpdateSourceTrigger=PropertyChanged}"
                                                  />

                        <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.NumeracaoAtributoExterno}"
                                                  HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Margin="0,250,0,0"
                                                  Width="400"
												  TabIndex="23"
                                                  Name="ChkNumeracaoAbributo"
                                                  IsChecked="{Binding Parametro.NumeracaoAtributoExterno,UpdateSourceTrigger=PropertyChanged}"/>
                    </Grid>
                </Controls:SinacorGroupBox>

                <!-- Comentário Aumento Margem de 125 para 150 -->
                <Controls:SinacorGroupBox HorizontalAlignment="Left"
                                          VerticalAlignment="Top"
                                          Header="{DynamicResource Bovespa.Operador.Label.Ordem}"
                                          Height="200"
                                          Width="475"
                                          Margin="490,150,0,0">
                    <Grid>
                        <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.MantemPreBoleto}"
                                                  HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Margin="0,0,0,0"
                                                  Width="400"
												  TabIndex="24"
                                                  Name="ChkMantemTelaPreBoleto"
                                                  IsChecked="{Binding Parametro.MantemTelaPreBoletoAberta,UpdateSourceTrigger=PropertyChanged}"/>
                        <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.DigitoCliente}"
                                                  HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Margin="0,25,0,0"
                                                  Width="400"
												  TabIndex="25"
                                                  Name="ChkDigitoCliente"
                                                  IsChecked="{Binding Parametro.IndicadorDigitoCliente,UpdateSourceTrigger=PropertyChanged}"/>
                        <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.GravaObservacao}"
                                                  HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Margin="0,50,0,0"
                                                  Width="400"
												  TabIndex="26"
                                                  Name="ChkGravaSempre"
                                                  IsChecked="{Binding Parametro.GravaSempreObservacao,UpdateSourceTrigger=PropertyChanged}"/>
                        <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.LiquidacaoC}"
                                                  HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Margin="0,75,0,0"
                                                  Width="400"
												  TabIndex="27"
                                                  Name="ChkTipoLiquidacao"
                                                  IsChecked="{Binding Parametro.TipoLiquidacaoCAutomatica,UpdateSourceTrigger=PropertyChanged}"/>
                        <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.Carteira268}"
                                                  HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Margin="0,100,0,0"
                                                  Width="400"
												  TabIndex="28"
                                                  Name="ChkCarteiraAutomatica"
                                                  IsChecked="{Binding Parametro.Carteira268AutomaticaTermo,UpdateSourceTrigger=PropertyChanged}"/>
                    </Grid>
                </Controls:SinacorGroupBox>

                <!-- Comentário Alteração de Margens -->
                <Controls:SinacorGroupBox HorizontalAlignment="Left"
                                          VerticalAlignment="Top"
                                          Header="{DynamicResource Bovespa.Operador.Label.CancelamentoOrdens}"
                                          Height="207"
                                          Width="475"
                                          Margin="490,355,0,0">
                    <Grid>
                        <StackPanel Orientation="Horizontal"
                                    HorizontalAlignment="Left"
                                    VerticalAlignment="Top"
                                    Margin="0,0,0,0">
                            <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.Aposperiodode}"
                                                      HorizontalAlignment="Left"
                                                      VerticalAlignment="Top"
                                                      Margin="0,0,0,0"
                                                      Width="120"
													  TabIndex="29"
                                                      Name="ChkAposPeriodo"
                                                      IsChecked="{Binding Parametro.AposPeriodoCancelamentoOrdens,UpdateSourceTrigger=PropertyChanged}"/>
                            <Controls:SinacorInt16TextBox HorizontalAlignment="Left"
                                                     VerticalAlignment="Top"
                                                     Margin="0,0,0,0"
                                                     Width="50"
                                                     Name="TxtAposPeriodo"
                                                     AcceptsNegative="False"
                                                     Integers="2" 
                                                     TabIndex="30"
                                                     Value="{Binding Parametro.DiasCancelamentoOrdens,UpdateSourceTrigger=PropertyChanged}"/>
                            <Controls:SinacorLabel HorizontalAlignment="Left"
                                                   VerticalAlignment="Top"
                                                   Margin="2,0,0,0"
                                                   Content="{DynamicResource Bovespa.Operador.Label.dias}"
                                                   Width="33"
                                                   Name="LblDias"
                                                   />
                        </StackPanel>
                        <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.CancelaValidadeOrdem}"
                                                  HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Margin="0,25,0,0"
                                                  Width="400"
												  TabIndex="31"
                                                  Name="ChkCancelaValidade"
                                                  IsChecked="{Binding Parametro.CancelaValidadeOrdem,UpdateSourceTrigger=PropertyChanged}"/>
                        <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.AnoSeguinte}"
                                                  HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Margin="0,50,0,0"
                                                  Width="400"
												  TabIndex="32"
                                                  Name="ChkParaAnoSeguinte"
                                                  IsChecked="{Binding Parametro.ParaAnoSeguinte,UpdateSourceTrigger=PropertyChanged}"/>
                        <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.NaoExecutada}"
                                                  HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Margin="0,75,0,0"
                                                  Width="135"
												  TabIndex="33"
                                                  Name="ChkNaoExecutada"
                                                  Checked="ChkNaoExecutada_Checked"
                                                  Unchecked="ChkNaoExecutada_Unchecked"
                                                  IsChecked="{Binding Parametro.NaoExecutadaCancelamentoOrdens,UpdateSourceTrigger=PropertyChanged}"
                                                  />
                        <Controls:SinacorComboBox HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Width="320"
                                                  Margin="140,75,0,0"
												  TabIndex="34"
                                                  Name="CmbNaoExecutada"
                                                  IsEnabled="False"
                                                  SelectedValue="{Binding Parametro.CodigoMensagem,UpdateSourceTrigger=PropertyChanged}"
                                                  ItemsSource="{Binding Path=presenter.ListaMensagem, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:SinacorWindow}}}" 
                                                  SelectedValuePath="Codigo"
                                                  DisplayMemberPath="Descricao" />
                                               
                        <Controls:SinacorLabel HorizontalAlignment="Left"
                                               VerticalAlignment="Top"
                                               Margin="0,100,0,0"
                                               Content="{DynamicResource Bovespa.Parametro.Label.IndSoluçãoZeZe}"
                                               Width="135"/>
                        
                        <Controls:SinacorComboBox HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Width="320"
                                                  Margin="140,100,0,0"
												  TabIndex="36"
                                                  Name="CmbIndSolucaoZeZe"
                                                  SelectedValue="{Binding Parametro.CodigoMensagemZeComZe,UpdateSourceTrigger=PropertyChanged}"
                                                  ItemsSource="{Binding Path=presenter.ListaMensagem, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:SinacorWindow}}}" 
                                                  SelectedValuePath="Codigo"
                                                  DisplayMemberPath="Descricao"
                                                  WidthPopup="800"/>
                        
                    </Grid>
                </Controls:SinacorGroupBox>

                <!-- Comentário Alteração de Margens -->
                <Controls:SinacorGroupBox HorizontalAlignment="Left"
                                          VerticalAlignment="Top"
                                          Header="{DynamicResource Bovespa.Operador.Label.SinalMegaBolsa}"
                                          Height="130"
                                          Width="484"
                                          Margin="0,458,0,0">
                    <Grid>
                        <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.TrataSinal}"
                                                  HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Margin="0,0,0,0"
                                                  Width="400"
												  IsEnabled="False"
												  TabIndex="37"
                                                  Name="ChkTrataSinal"
                                                  IsChecked="{Binding Parametro.SinalMegabolsa,UpdateSourceTrigger=PropertyChanged}"/>
                        <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.DesprezaOfertaOperadorApontado}"
                                                  HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Margin="0,25,0,0"
                                                  Width="400"
												  IsEnabled="False"
												  TabIndex="38"
                                                  Name="ChkDesprezaOferta"
                                                  IsChecked="{Binding Parametro.DesprezaOfertaOperadorApontado,UpdateSourceTrigger=PropertyChanged}"/>
                        <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.CalculoAutomaticoFinanceiro}"
                                                  HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Margin="0,50,0,0"
                                                  Width="400"
												  TabIndex="39"
                                                  Name="ChkCalculoAutomatico"
                                                  IsChecked="{Binding  Parametro.CalculoAutomaticoFinanceiro, UpdateSourceTrigger=PropertyChanged}"/>
                        <Controls:SinacorCheckBox Content="{DynamicResource Bovespa.Operador.Label.VerificaBloqueioRecepcao}"
                                                  HorizontalAlignment="Left"
                                                  VerticalAlignment="Top"
                                                  Margin="0,75,0,0"
                                                  Width="400"
												  TabIndex="40"
                                                  Name="ChkVerificaBloqueio"
                                                  IsChecked="{Binding Parametro.BloqueioRecepcaoOfertas, UpdateSourceTrigger=PropertyChanged}"/>
                    </Grid>
                </Controls:SinacorGroupBox>

                <!-- Comentário Alteração de Margens -->
                <Controls:SinacorButton HorizontalAlignment="Left"
                                        VerticalAlignment="Top"
                                        Content="{DynamicResource Bovespa.Operador.Label.Salvar}"
                                        Width="80"
                                        Margin="801,567,0,0"
										TabIndex="41"
                                        Name="BtnSalvar"
                                        IsEnabled="{Binding Path=presenter.Parametro.ocorreAlteracao, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:SinacorWindow}}}"
                                        OnBufferedClick="BtnSalvar_OnBufferedClick"
                                        IsDefault="True"/>

                <!-- Comentário Alteração de Margens -->
                <Controls:SinacorButton Content="{DynamicResource Bovespa.Operador.Label.Cancelar}"
                                        Width="80"
                                        Margin="885,567,0,0"
                                        HorizontalAlignment="Left"
                                        VerticalAlignment="Top"
										TabIndex="42"
                                        Name="BtnCancelar"
                                        IsEnabled="{Binding Path=presenter.Parametro.ocorreAlteracao, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:SinacorWindow}}}"
                                        OnBufferedClick="BtnCancelar_OnBufferedClick"
                                        />
            </Grid>
        </Controls:SinacorExpander>
    </Controls:SinacorExpanderContainer>
</Controls:SinacorWindow>